import service from '@/utils/request';

//延伸期预报出
const ysqProductMakeByte = (params: any) => service.get('/raw/ysqMakeImg/ysqProductMakeByte', { params, responseType: 'arraybuffer' });
//供暖会商-2m气温
const countTmp = (params: any) => service.get('/shortWarn/analysis/countTmp', { params });
//供暖会商-最高，低，平均温度曲线图
const countDayTmp = (params: any) => service.get('/shortWarn/analysis/countDayTmp', { params });
//ECJH
const queryEcjhData = (params: any) => service.get('/analysis/queryEcjhData', { params, responseType: 'arraybuffer' });
//ECC6F
const queryECC6FData = (params: any) => service.get('/analysis/queryECC6FData', { params, responseType: 'arraybuffer' });
//ECE6F
const queryECE6FData = (params: any) => service.get('/analysis/queryECE6FData', { params, responseType: 'arraybuffer' });

export default {
    ysqProductMakeByte,
    countTmp,
    countDayTmp,
    queryEcjhData,
    queryECC6FData,
    queryECE6FData
}